<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body ng-app="vm">
   <div ng-controller="ctrl">
       颜色：<input type="text" ng-model="color">
       大小：<input type="number" ng-model="size"><br/>
       <span ng-style="{color: color,fontSize: size+'px'}">看我的变化</span>
   </div>
    <script>
        var m = angular.module('vm',[]);
        m.controller('ctrl',['$scope',function($scope){

        }])
    </script>
</body>
</html>